package com.zkthink.ceres.executor.jobhandler.xsy;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.JobHandler;
import com.zkthink.ceres.member.service.MemberService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName ComputerVipTimeHandler
 * @Description: 每天21点计算过期的vip和七天之后的vip并发送信息
 * @Author ck
 * @Date 2022/2/18
 * @Version V1.0
 **/
@JobHandler(value = "ComputerVipTimeHandler")
@Component
@Slf4j
public class ComputerVipTimeHandler extends IJobHandler {

    @Autowired
    private MemberService memberService;

    @Override
    public ReturnT<String> execute2(String param) throws Exception {
      //  memberService.executeVipTime();
        return SUCCESS;
    }
}
